package com.eamois.dao.manual;

import java.util.Collection;

import com.eamois.dao.BaseDao;
import com.eamois.domain.manual.ProcessEntity;
import com.eamois.domain.manual.Stoppage;
import com.eamois.domain.manual.StoppageAndProcessStructure;
import com.eamois.domain.manual.WorkStep;

public interface StoppageAndProcessStructureDao extends BaseDao<StoppageAndProcessStructure>{
	Collection<StoppageAndProcessStructure> findStoppageAndProcessByProcess(ProcessEntity process);
	Collection<StoppageAndProcessStructure> findStoppageAndProcessByStep(WorkStep workStep);
	StoppageAndProcessStructure findStoppageAndProcessByOther(Stoppage stoppage, ProcessEntity process);
	StoppageAndProcessStructure findStoppageAndProcessByOther(Stoppage stoppage, WorkStep step);
	StoppageAndProcessStructure findStoppageAndProcessByStoppage(Stoppage stoppage);
}
